<%@ page language="java" import="down3.biz.DnFile" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.apache.commons.lang.StringUtils" %>
<%
	out.clear();
	/*
		从down_files中删除文件下载任务
		更新记录：
			2015-05-13 创建
			2016-07-29 更新。
	*/
	String id = request.getParameter("id");
	String uid = request.getParameter("uid");
	String cbk = request.getParameter("callback");//jsonp

	if (	StringUtils.isBlank(uid)||
			StringUtils.isBlank(id)
		)
	{
		out.write(cbk + "({\"value\":null})");
		return;
	}

	DnFile.build().Delete(id,uid);

	out.write(cbk+"({\"value\":1})");
%>